package com.project.mapper;

import com.project.entity.vo.RoleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ProjectName: 
 * @Package: 
 * @ClassName: 
 * @Author: ZhaoLongShi
 * @CreateDate: 
 */
public interface RolePermissionMapper {
    /**
     * 根据用户ID查询角色以及所拥有的权限
     * @param userId
     * @return
     */
    List<RoleVo> selectRolesById(@Param("userId") Long userId);
}